package ModelLayer;

import java.util.Date;

import java.util.LinkedList;

public class RoomType {
	private int Id;
	private double pricePerNight;
	private int size;

	private KeyWord name;
	private LinkedList<RBDate> dates;

	public RoomType() {
		dates = new LinkedList<RBDate>();
	}

	public RoomType(int Id) {
		this.Id = Id;
		dates = new LinkedList<RBDate>();
	}

	public void addDate(RBDate date) {
		dates.add(date);
	}

	public void deleteDate(Date date) {
		dates.remove(date);
	}

	public int getId() {
		return Id;
	}

	public void setId(int id) {
		Id = id;
	}

	public double getPricePerNight() {
		return pricePerNight;
	}

	public void setPricePerNight(double pricePerNight) {
		this.pricePerNight = pricePerNight;
	}

	public int getSize() {
		return size;
	}

	public void setSize(int size) {
		this.size = size;
	}

	public KeyWord getName() {
		return name;
	}

	public void setName(KeyWord name) {
		this.name = name;
	}

	public LinkedList<RBDate> getDates() {
		return dates;
	}

	public void setDates(LinkedList<RBDate> dates) {
		this.dates = dates;
	}

}
